package com.time.auth.application.convent;

import com.time.auth.domain.entity.AuthUserBO;
import com.time.auth.entity.AuthUserDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 用户DTO转换类
 *
 * @author: HuangQi
 * @date: Created in 10:05 2025/9/29
 * @description: 用户DTO转换类
 */
@Mapper
public interface AuthUserDTOConverter {

    AuthUserDTOConverter INSTANCE = Mappers.getMapper(AuthUserDTOConverter.class);

    AuthUserBO convertDTOToBO(AuthUserDTO authUserDTO);

    AuthUserDTO convertBOToDTO(AuthUserBO authUserBO);
}
